package com.aqumon.www.entity.response.ldap;

import lombok.Data;

import javax.naming.ldap.LdapContext;

@Data
public class LoginResp {
    private boolean rst;
    private String msg;
    private LdapContext ctx;

    public LoginResp(boolean rst, String msg, LdapContext ctx) {
        this.rst = rst;
        this.msg = msg;
        this.ctx = ctx;
    }

    @Override
    public String toString() {
        return "LoginRespMsg {" +
                "rst=" + rst +
                ", msg='" + msg +
                ", ctx='" + ctx +
                '}';
    }
}
